package com.cmc.cloud.cmclink.doc.vo.setupweightlimitedvo;

import lombok.*;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 限重维护分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 限重维护分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SetupWeightLimitedPageReqVO extends PageParam {

    @Schema(description = "航线代码")
    private String laneCode;

    @Schema(description = "船舶代码")
    private String vesselCode;

    @Schema(description = "操船方代码")
    private String vesselOperatorCode;

    @Schema(description = "装货港")
    private String polCode;

    @Schema(description = "卸货港")
    private String podCode;

    @Schema(description = "箱型", example = "1")
    private String cntrType;

    @Schema(description = "箱尺寸")
    private String cntrSize;

    @Schema(description = "限重（Kg）")
    private BigDecimal limitWeight;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
